package day04;

public class test1 {
    public static void main(String[] args) {
        int num = 5;
        for(int i =1;i<num+1;i++){
            String str = new String("");
            for(int j=0;j<2*i-1;j++)str+="*";
            String str1 = new String("");
            for(int j=num;j>=i;j--)str1+=" ";
            System.out.println(str1+str+str1);
        }
    }
    
}
